package com.haoze.nurseapp.service;

import com.haoze.common.response.Result;
import com.haoze.nurseapp.dto.Assessment.CommonTaskCirculationDTO;

import java.util.List;
import java.util.Map;

public interface OralMedicineService {
    /**
     * 口服药PC端打印查询
     * @param wardId
     * @param freq
     * @param date
     * @param print
     * @return
     */
    Result getMedicineList(String wardId, String freq, String date, String print,String keyWord,String inpatList,String machineSign,String ordersClass,String administrationFilter);

    /**
     *口服药APP端打印查询
     * @return
     */
    Result getMedicineListByApp(String wardId, String freq, String date, String print,String keyWord,String inpatList) ;

    Result getTimeList(String wardId, String freq, String date, String print, String keyWord, String inpatList,String machineSign,String ordersClass,String administrationFilter);

    Result getpatList(String wardId, Integer page, Integer pageSzie, String keyWord);

    Result prints(List<Map<String,Object>> prints);

    Result scan(String qrCode,String type,String generateFlag,String wardDeptId);

    Result getAppTimeList(Result result);

    Result getByList(String wardId, String freq, String date,String keyWord,Integer page,Integer pageSzie,String nodeId,String freqTime);

    Result getRelationList(String wardId, String freq, String date,String keyWord,Integer page,Integer pageSzie,String nodeName,String turnBackFlag,String inpatNum,String freqTime);

    Result getReturnList(String wardId, String date,String keyWord,Integer page,Integer pageSzie);

    Result turnBack(String wardId, String qrCode, List<String> inpatorderdataIds,String person,String reason,String type);

    Result check(String wardId, String qrCode, List<String> inpatorderdataIds,String person);

    /**
     * 1.摆药 直接验证条形码,返回以前的详情数据
     * 2.给药 先判断inpatnum是否为空,需要在有inpatnum的情况下,在跳转,
     * 在inpatnum不为空,qrCode为空时,查询当前病人列表
     * @param qrCode 口服药条形码
     * @param type 扫描类型
     * @param inpatNum 腕带
     * @return
     */
    Result scanNew(String qrCode,String type,String inpatNum,String date,String generateFlag,String wardDeptId,String uuid);


    List<Map> getPackingMachine(String oralCode);
}
